public class Diamond1 {

  public static void main (String[] args) {

    int n = Integer.parseInt(args[0]);

    for (int row = 1; row <= n; row++) {

      int padding = n - row;
      for (int j = 1; j <= padding; j++) {
        System.out.print(" ");
      }

      int stars = row + (row - 1);
      for (int k = 1; k <= stars; k++){
        System.out.print("*");
      }

      System.out.println();

    }
  }
}
